import Layout from '@/layout'

const recruitmentManage = {
  path: '/recruitment',
  component: Layout,
  redirect: '',
  name: 'recruitment',
  meta: {
    title: '师资管理',
    icon: '课程管理'
  },
  children: [
    {
      path: 'recruitment',
      component: () => import('@/views/recruitment/power/index'),
      name: 'RecruitMent',
      meta: { title: '师资力量', icon: '课程分类管理' },
      children: [
        {
          path: 'recruitmentList',
          component: () => import('@/views/recruitment/power/powerList'),
          name: 'RecruitmentList',
          meta: { title: '师资力量', noCache: true }
        }
      ]
    },
    {
      path: 'invitation',
      component: () => import('@/views/recruitment/invite/index'),
      name: 'OrganizationInvitation',
      meta: { title: '机构邀请', icon: '课程性质管理' },
      children: [
        {
          path: 'courseKindList',
          component: () => import('@/views/recruitment/invite/inviteList'),
          name: 'CourseKindList',
          meta: { title: '机构邀请', noCache: true }
        }
      ]
    },
    {
      path: 'teacherteacher',
      component: () => import('@/views/recruitment/deliver/index'),
      name: 'TeacherDeliver',
      meta: { title: '教师投递', icon: '课程标签管理' },
      children: [
        {
          path: 'courseLabelList',
          component: () => import('@/views/recruitment/deliver/deliverList'),
          name: 'CourseLabelList',
          meta: { title: '教师投递', noCache: true }
        }
      ]
    },
    {
      path: 'membermanagement',
      hidden: true,
      component: () => import('@/views/recruitment/memberManagement/index'),
      name: 'MemberManagement',
      meta: { title: '会员管理', icon: '课程标签管理' },
      children: [
        {
          path: 'memberlist',
          component: () => import('@/views/recruitment/memberManagement/memberList'),
          name: 'memberList',
          meta: { title: '会员管理', noCache: true }
        }
      ]
    },
    {
      path: 'memberlevel',
      hidden: true,
      component: () => import('@/views/recruitment/memberLevel/index'),
      name: 'memberLevel',
      meta: { title: '会员等级', icon: '课程标签管理' },
      children: [
        {
          path: 'memberlevellist',
          component: () => import('@/views/recruitment/memberLevel/memberLevelList'),
          name: 'memberLevelList',
          meta: { title: '会员等级', noCache: true }
        }
      ]
    }

  ]
}
export default recruitmentManage
